package com.heima.article.service.impl;

import com.heima.apis.behavior.IBehaviorClient;
import com.heima.article.service.ZhangJiaXingService;
import com.heima.model.behavior.dtos.BhLikesBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Slf4j
@Transactional
public class ZhangJiaXingServiceImpl implements ZhangJiaXingService {
    @Autowired
    private IBehaviorClient iBehaviorClient;

    @Override
    public ResponseResult liking(BhLikesBehaviorDto dto) {
        return iBehaviorClient.liking(dto);
    }
}
